package com.springboot.cloud.demos.entity.form;

import com.springboot.cloud.common.web.entity.form.BaseForm;
import com.springboot.cloud.demos.entity.po.Message;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author yanghao
 */
@ApiModel
@Data
public class MessageForm extends BaseForm<Message> {

    private String fromUserId;
    private String toUserId;
    /**
     * 1粉丝（关注） 2点赞，3评论
     */
    private Integer type;
    private Boolean isRead = false;
    private String valueId;
    private Integer valueType;//如果是点赞和评论，需要制定是图片/视频/广播/语音
    private String title;
    private String content;
}
